package org.jsola.hr.dto.attendrule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.dto.BaseDTO;

/**
 * 特殊日期-不必打卡的日期
 *
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【特殊日期-不必打卡的日期】的参数")
@Data
public class NoNeedPunchDateAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    /** 日期; yyyy-MM-dd 2019-12-19 */
    @ApiModelProperty(notes = "日期", example = "yyyy-MM-dd 2019-12-19")
    private String daily;

    /** 事由 */
    @ApiModelProperty(notes = "事由", example = "")
    @Length(max = 255, message = "事由长度不能超过255")
    private String reason;

}
